<?php
if (count($this->messages) == 0) {
	echo "No messages.";
	return;
}
foreach ($this->messages as $message) {
	echo "Message from $this->name: ".$message;
} 
